﻿<%@ Page Language="vb" AutoEventWireup="true" CodeBehind="QuestionRSS.aspx.vb" Inherits="FishTank.QuestionRSS"
    ContentType="text/xml" %>

<rss version="2.0">  
    <channel>  
        <title>FishTank Questions</title>  
        <link><%# GetLeftPartURL() %></link>  
        <description>  
            FishTank is a Web 2.0 site for aquarium enthusiasts. Registered users are 
            encouraged to create content and exchange information with other members.
        </description> 
        <language>en-us</language>
        <copyright>Copyright 2012 FishTank</copyright> 
        <webMaster>admin@fishtank.net</webMaster>
        <asp:repeater id="RSSRepeater" runat="server">
        <ItemTemplate>  
            <item>  
                <title><%# EncodeHTML(Convert.ToString(Eval("Title")))%></title>  
                <link><%# GetLeftPartURL()%>/Pages/QuestionDetail.aspx?ID=<%# Eval("ID")%></link>  
                <description><%# EncodeHTML(Convert.ToString(Eval("Description")))%></description> 
                <pubDate><%# Format(Eval("CreatedDateTime"), "R")%></pubDate>   
                <author><%# EncodeHTML(Eval("MemberFullName"))%></author>  
            </item>  
        </ItemTemplate>  
        </asp:repeater>
    </channel>  
</rss>